﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Admin.Master" AutoEventWireup="true" CodeBehind="brandmanage.aspx.cs" Inherits="CompanyCMS.Admin.brandmanage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" />
    </div>
    <div>
        <asp:GridView ID="gvbrand" runat="server" 
            Font-Size="12px"
            AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField DataField="BrandId" HeaderText="编号" />
                <asp:BoundField DataField="BrandName" HeaderText="品牌名称" />
                <%--<asp:BoundField DataField="BrandIcon" HeaderText="品牌图标" />--%>
                <asp:BoundField DataField="BrandDetails" HeaderText="品牌详细" ControlStyle-Width="150px"/>
                <asp:BoundField DataField="BrandOrder" HeaderText="顺序" /> 
                <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                
            </Columns>
            <HeaderStyle BackColor="Azure" Font-Size="12px" HorizontalAlign="Center" />
            <RowStyle HorizontalAlign="Center" />
        </asp:GridView>
    </div>
</asp:Content>
